//Ground collision
if(place_meeting(x,y+vsp,obj_collision)){
    while(!place_meeting(x,y+1,obj_collision)){ 
        y+=1;       
    }
    vsp=0;
    grav=0;
    grounded=1;
    keyboard_set_map(vk_up,vk_up);
} else if(!place_meeting(x,y+1,obj_collision)) grav=0.5;
